package com.yueshang.neuron.modular.system.api;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yueshang.neuron.modular.system.model.OperationLog;
import com.yueshang.neuron.modular.system.model.User;
import com.yueshang.neuron.modular.system.vo.req.AddUserReq;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 后台管理用户表(TUser)表服务接口
 *
 * @author shililu
 * @since 2018-08-08 13:02:48
 */
public interface IUserService extends IService<User> {

    /**
     * 根据查询条件获取用户
     *
     * @param searchCondition
     * @param deptid
     * @param roleId
     * @return
     */
    List<Map<String, Object>> selectUsers(Page<User> page, String searchCondition, Long deptid, Long roleId);

    void editUser(AddUserReq addUserReq);

}